﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="SilverAmp.UserControl1"
	d:DesignWidth="632" d:DesignHeight="479">
	<UserControl.Resources>
		<DataTemplate x:Key="StringTemplate">
			<StackPanel>
				<TextBlock Text="{Binding Mode=OneWay}"/>
			</StackPanel>
		</DataTemplate>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<Grid Drop="Grid_Drop">
			<ScrollViewer HorizontalAlignment="Right"
				Width="235" Height="169" VerticalAlignment="Top">
				<StackPanel DataContext="{Binding CurrentlyPlayingSong, Mode=TwoWay}">
					<TextBlock Text="{Binding Name}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Artist}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Tags.Album}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Tags.Track}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Tags.Year}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<ListBox ItemTemplate="{StaticResource StringTemplate}" ItemsSource="{Binding Tags.Genres}" Width="179"/>
					<TextBlock Text="{Binding Tags.Comment}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Tags.MusicBrainzDiscId}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<TextBlock Text="{Binding Tags.MusicIpId}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					<Image Height="100" Width="100" Source="{Binding Image}"/>
				</StackPanel>
		
			</ScrollViewer>
			<WebBrowser Source="{Binding CurrentlyPlayingSong.InfoUrl, Mode=TwoWay}" HorizontalAlignment="Left" Width="274" Height="181" VerticalAlignment="Bottom"/>
		</Grid>
	</Grid>
</UserControl>